package com.xiyu.service.vo.customer.customerContact;

import com.xiyu.service.vo.customer.contact.baseVO.CustomerContactMailBase;
import com.xiyu.service.vo.customer.contact.baseVO.CustomerContactBase;
import com.xiyu.service.vo.customer.info.baseVO.CustomerInfoBase;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.Valid;
import com.xiyu.service.enums.common.CommonStatusEnum;
import com.xiyu.service.framework.validation.InEnum;

@Schema(description = "分页查询收件人")
@Data
@AllArgsConstructor
public class CustomerContactPageQueryMailOutput extends CustomerContactMailBase {

    @Schema(description = "客户联系人邮箱主键ID")
    private Long id;

    @Schema(description = "客户联系人")
    @Valid
    private contact contact;

    @Schema(description = "客户信息")
    @Data
    public static class customer extends CustomerInfoBase {
    }

    @Schema(description = "客户联系人")
    @Data
    public static class contact extends CustomerContactBase {

        @Schema(description = "客户信息")
        @Valid
        private customer customer;
    }
}